The fire broke out Sunday afternoon at the mosque in Istanbul's Uskudar district.
It started in the electrical cables and then spread through the wooden flooring, the department added.
The mosque, mainly made from wood, was built by Vani Mehmet Efendi, a Turkish scholar, in 1670.
The blaze was put out by fire fighters and coast guard teams.
Source: Anadolu Agency